<script>
import {defineComponent} from 'vue'

export default defineComponent({
  name: "HomeBanner",
  inject:['name','age','person']
})
</script>

<template>
<div class="banner">
  <h1>我是HomeBanner组件{{ person}}</h1>
</div>
</template>

<style scoped lang="less">

</style>
